package com.bobo.mapper;

import java.util.List;

import com.bobo.vo.Product;
import com.bobo.vo.Sale;
import com.bobo.vo.User;

public interface UserMapper {
	/*
	 * 插入用户数据
	 */
	public boolean insertUser(User u);
	/*
	 * 批量插入用户数据
	 */
	public boolean insertUserBatch(List<User> users);
	
	public boolean insertProduct(Product product);
	public boolean insertProductBatch(List<Product> products);

	public boolean insertSale(Sale sale);
	public boolean insertSaleBatch(List<Sale> sales);
}
